package com.android.infantschool.bean;

import java.util.Arrays;
import java.util.List;

/**
 * @author Administrator
 * @particulars
 * @time 2019\7\8 0008 9:03
 * @class describe
 */
public class TelBookBean extends BaseBean {

    /**
     * code : 0
     * msg : SUCCESS
     * count : 0
     * data : [{"id":12,"babyNameAndRole":"ge爸爸","phone":"110","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192"},{"id":13,"babyNameAndRole":"Ho爸爸","phone":"110","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192"},{"id":14,"babyNameAndRole":"Ho爸爸","phone":"110","img":"http://pubgwqeja.bkt.clouddn.com/615640161503192"}]
     */

    public int code;
    public String msg;
    public int count;
    public List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 12
         * babyNameAndRole : ge爸爸
         * phone : 110
         * img : http://pubgwqeja.bkt.clouddn.com/615640161503192
         */

        public int id;
        public String babyNameAndRole;
        public String phone;
        public String img;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getBabyNameAndRole() {
            return babyNameAndRole;
        }

        public void setBabyNameAndRole(String babyNameAndRole) {
            this.babyNameAndRole = babyNameAndRole;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", babyNameAndRole='" + babyNameAndRole + '\'' +
                    ", phone='" + phone + '\'' +
                    ", img='" + img + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "TelBookBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", count=" + count +
                ", data=" + Arrays.toString(data.toArray()) +
                '}';
    }
}